package org.csu.petstore_manage.persistence;

import org.csu.petstore_manage.domain.Account;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountMapper {

    Account getAccountByUsername(String username);

    Account getAccountByUsernameAndPassword(Account account);

     void insertAccount(Account account);
//
//    void updateAccount(Account account);
    String findPassword(String email);
}